A non-filled Radar chart
This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.common.dynamic.js"></script>
<script src="RGraph.common.tooltips.js"></script>
<script src="RGraph.common.effects.js"></script>
<script src="RGraph.radar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="500" height="400">
[No canvas support]
</canvas>
This is the code that generates the chart:
<script>
new RGraph.Radar({
id: 'cvs',
data: [ [8,7,6,7,8,6], [8,9,4,6,6,8] ],
options: {
textAccessible: true,
tooltips: [
'Mal', 'Barry', 'Gary','Dave','Paul', 'Rich',
'Mal', 'Barry', 'Gary','Dave','Paul', 'Rich'
],
backgroundCirclesPoly: true,
backgroundCirclesSpacing: 30,
colors: ['transparent'],
axesColor: 'transparent',
highlights: true,
strokestyle: ['red', 'black'],
linewidth: 2,
labels: ['', 'Barry', 'Gary','Dave','Paul','Rich'],
labelsAxes: 'n',
textSize: 16,
clearto: 'white',
labelsAxesBoxed: false,
labelsAxesBoxedZero: false,
textAccessible: true
}
}).grow();
</script>